package com.zeta.eduservice.service;

import java.io.IOException;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zeta.eduservice.entity.question.EduQuestion;
import com.zeta.eduservice.entity.question.EduQuestionChoice;
import com.zeta.eduservice.entity.vo.QuestionChoiceVo;
import com.zeta.eduservice.entity.vo.QuestionQuery;
import com.zeta.eduservice.entity.vo.QuestionUploadVo;

/**
 * <p>
 * 选择试题 服务类
 * </p>
 *
 * @author zeta
 * @since 2020-10-08
 */
public interface EduQuestionChoiceService extends IService<EduQuestionChoice> {

	void upload(MultipartFile file, QuestionUploadVo questionUploadVo, EduQuestionChoiceService choiceService,ChapterAQuestionTypeSysAndChoicequestionService chapterAQuestionTypeSysAndChoicequestionService ) throws IOException;

	
	List<QuestionChoiceVo> getsByMidId(Page<QuestionChoiceVo> page, QuestionQuery searchObj);


	List<QuestionChoiceVo> getsByCourseIdAndTypeSys(Page<QuestionChoiceVo> page, QuestionQuery searcherObj);



	List<QuestionChoiceVo> getByPaperTypeId(Page<QuestionChoiceVo> page, QuestionQuery searcherObj);


	List<QuestionChoiceVo> getByPaperTypeId(QuestionQuery searcherObj);

}
